.com
Hosted by:
Unit testing expertise at your fingertips!
Home | Discuss | Lists

XUnit Terminology Cross-reference

This appendix provides a crossreference from the terminology used in this book to the terminology used by various specific members of the xUnit family. This list is not intended to be exhaustive but rather to illustrate the adaptations of the standard xUnit terminology to the idioms and culture of each language and community. If a term is missing, feel free to provide it via an e-mail. If your favorite member of the xUnit family is missing, just e-mail me the html (just the tr/td tags) row to include in this table.

ToolBook Term
LanguageXUnit Member:Testcase ClassTest Suite FactoryTest Methodfixture setupfixture teardownSuiteFixture SetupSuiteFixture TearDownExpected Exception Test
Java 1.4JUnit 3.8.2subclass of TestCasestatic suite()testXxx()setUp()tearDown()n/an/asubclass of Expected ExceptionTest
Java 5JUnit 4.0+import org.junit.Teststatic suite()@Test@Before@After@BeforeClass@AfterClass@Exception
.NetCsUnit[TestFixture][Suite][Test][SetUp][TearDown]n/an/a[ExpectedException()]
.NetNUnit 2.0[TestFixture][Suite][Test][SetUp][TearDown]n/an/a[ExpectedException()]
.NetNUnit 2.1+[TestFixture][Suite][Test][SetUp][TearDown][TestFixtureSetUp][TestFixtureTearDown][ExpectedException()]
.NetMbUnit 2.0+[TestFixture][Suite][Test][SetUp][TearDown]tbdtbd[ExpectedException()]
.NetMSTest[TestClass()]tbd[TestMethod()][TestInitialize()][TestCleanup()][ClassInitialize()][ClassCleanup()][ExpectedException()]
PHPPHPUnitsubclass of TestCasestatic suite()testXxx()setUp()tearDown()n/an/asubclass of Expected ExceptionTest
PythonPyUnitsubclass of unittest.TestCasetbdtestXxxsetUptearDownn/an/aassertRaises
RubyTest::Unitsubclass of Test::Unit::TestCaseClassname.suite()testXxx()setup()teardownn/an/aassert_raise
SmalltalkSUnitsuperclass: TestCaseTestSuite named:testXxxsetUptearDowntbdtbdshould:raise:
VB 6VbUnitImplements IFixtureImplements ISuiteTestXxx()IFixture_Setup()IFixture_TearDownIFixtureFrame_Create()IFixtureFrame_Destroyon error...
SAP ABAPABAP UnitFOR TESTINGautomaticanysetupteardownclass_setupclass_teardowntbd


Page generated at Wed Feb 09 16:39:03 +1100 2011

Copyright © 2003-2008 Gerard Meszaros all rights reserved

All Categories
Introductory Narratives
Web Site Instructions
Code Refactorings
Database Patterns
DfT Patterns
External Patterns
Fixture Setup Patterns
Fixture Teardown Patterns
Front Matter
Glossary
Misc
References
Result Verification Patterns
Sidebars
Terminology
Test Double Patterns
Test Organization
Test Refactorings
Test Smells
Test Strategy
Tools
Value Patterns
XUnit Basics
xUnit Members
All "Terminology"
Mocks, Fakes, Stubs and Dummies
XUnit Terminology Cross-reference